package com.ruoyi.orderEat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 category_info
 *
 * @author ruoyi
 * @date 2023-11-17
 */
public class CategoryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品分类ID */
    private Long categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类图片 */
    @Excel(name = "分类图片")
    private String categoryUrl;

    /** 分类简介 */
    @Excel(name = "分类简介")
    private String categoryIntroduce;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setCategoryUrl(String categoryUrl)
    {
        this.categoryUrl = categoryUrl;
    }

    public String getCategoryUrl()
    {
        return categoryUrl;
    }
    public void setCategoryIntroduce(String categoryIntroduce)
    {
        this.categoryIntroduce = categoryIntroduce;
    }

    public String getCategoryIntroduce()
    {
        return categoryIntroduce;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryUrl", getCategoryUrl())
            .append("categoryIntroduce", getCategoryIntroduce())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("REMARK", getRemark())
            .toString();
    }
}
